package com.jzoom.zoom.pay;

public enum RefundStatus {

	/**
	 * 正在退款
	 */
	pending("pending"),
	/**
	 * 退款成功
	 */
	success("success"),
	/**
	 * 退款失败
	 */
	fail("fail");
	
	
	
	
	private String name;
	
	private RefundStatus(String name) {  
        this.name = name;  
    }  
    //覆盖方法  
    @Override  
    public String toString() {  
        return this.name;
    }
    
    public boolean is(String status) {
    		return this.name.equals(status);
    }
}
